use :delete, not .delete

Found by colomon++