fixed nil in view