better path fix