cleared template doc