hotfix for issue 13

fixed the logic to rename delete to del - moved it inside the command validation logic