fixed some minor error