fixed multi line template declaration error