fix view gen

Signed-off-by: Jerry <gjerryfe@qq.com>