remove debug code
remove debugging flag