Fixing warning to Command