Some fixes for IE