fix rm commands