Ok it was my bug. I wasn't handling contentMap correctly.