added some debugging to help figure out production issue