Fixed loop bug when repeating them such as bb command to user input