Fix for bug "AttributeError:cmd"