Fix setwarp and deletewarp commands