Fixing error 1 for rm command.