Some fixes for IE;