first compiled version, pathname has issues