Fixed error in Chrome