Alabama wards off sweep