more logging
more debugging but still don't know why phantomjs fails