fixed getCidsByPids