check null view when display()