fix Cannot mass-assign protected attributes: head_number