fixed hydration of ids