fixed error mass-assign protected attributes preferred_item_total_threshold