Fixed a small bug in command manger, which is I didn't set a flag