fixed menu navigation condition (read input)