fixed menu loop