some minor mistakes