fix auto show and syntax