remove debug statements; fix set issue