fixed bug with chrome