final fix to apache template