added some debug console out to see where it falls on linux