fix cf to find attributes if hostname isnt an attribute