fixed exiting exported game