Fixed new_view null bug