Attempt to fix view null issue.