phantomjs error fix