Preload correctly in index template