critical fix for older browsers