Fixed infinite command error