Fix delete command