it works very well in firefox but gets problem in phantomjs, save for an edition