Project.find_by_name --> ..find_by_title
category might be nil