fixed type in callback