fixed bug in command