IE fixes
Made it slightly less ugly