FIX: scaffold tmeplate index