Add some debug info to get to the bottom of this