rescue nil in view