adding some debugging to help fix a windows problem