remove unnecessary alert()