Fixing partial lookup method and its associated build template