Merge pull request #1435 from andreilupu/master

remove debug code. Thanks!