fix issue with constant pathing