fixing logico