fix shortcuts in main.py not returning True