fix collections on imageRestController