remove redundant 'rm' command handler