fixed rm syntax