fixed type and set default value to 1 to avoid testing error