Fixes command statement