fixed bug on chrome