Fixed some bugs for holycow and delete command.