fixed another dumb bug, removed log statements