casting ids to strings