a fix that makes the quit menu work