rest collection fix