rm debugging