range fixes for safari 6.0