fixes phantomjs case