added line to hide second home page event, if necessary