moving weight_data_info init to before_action