fix, remove logger and make tests pass