fix phantomjs path error