adapte to multiple brower