Fix browser behavior