mask group use dynamic string

Signed-off-by: xiehuc <xiehuc@gmail.com>