fix friendly_id issues