phantomjs issue #11172 workaround