added fix for browsers