fixed type bug, fail