Fix couple of IE bugs