fixing can't close menu regression