Added some debuging to try and figure out why #290 failed