phantomjs fix