add replace, rm error