fixes #42 remove debug code