fix to previous command patch