find a proper typeNumber if less than 1

Signed-off-by: Gerald <gera2ld@163.com>