move setting of lead to before_action