corrections to hide(), test alert