Fixed bug in chrome