Fixing condition for browser