command() is not ok!
fix double deletion
lua support for deletion