Fixed error with commands