Fix IE erorrs