fixed bug 188 fix browser differences