Fixes issue #17
removed debug printf