added auto show type