fixed close on pause and start menu