fixes for older browsers