removing unecessary div from alerts