Bug fixing for chrome 28