fixed type mismatch