added UI Helper to remove function on each template