fixed menu return bug