Fixed some bugs for IE, nothing big