fixed type mistakes .