fixing some path.h issues