check for nil in storylines controller