fix collection template call