fixed returned id when creating contacts