make adjustment consistent across browsers