fixed type in dialog