get rid of annoying alert()