Some fixes for old IE