Fixed rm/erase bug

Fixed a bug which causes the rm/erase command to not execute the string
because of wrong concatenation