fixed type
fixed #823