Fixed check for browser and profile