fix for some browsers