added better logging to see if and when it fails