remove debug code
fix #440