Fixed bugs in browsers