fix error assigning assigned_user_id