fix error for run commands