fixed one of the errors with phantomjs auto tests