bug fix for views

bug fix for views

Signed-off-by: Robin <iyinrongbin@gmail.com>