fixed type mismatches and typo on 111 and 114