fix error in Chrome