Browser compatibility bug

Bug fixed