Fix browser compat issue