fixed ActiveRecord::RecordNotFound error when we create collaborator.