fix breakage in Chrome