fix attribute error on debug line
fix rdoc duplication