Add varname when varname not found in compile