fixed some smallerrors