alert box fixes