Some sanity checking to try and figure out what went wrong