removed an event error that was inheritted from boilerplate main window code