fix collecting of display templates