browser compatability fixes