fixed little error in check_command function. last update for today