fixed some minor mistakes