fixed chromium compatibility