fixed jsdom issue