actually fix safari alert issues