deal with some subtype case

Signed-off-by: Far Tseng <farrrr@gmail.com>