fixed doc for function Template