fixes #33 assigned_to_id never set