Fixed the break on non-chrome browsers