change name resolution to id resolution