fix to cmd