remove debug, make failing test pass