fixed rm error