fix for inst without name and change policy logic