fixes for ie and old browsers