fix some vital errors