Fixed IE bugs