Fixed bug for Chrome