fix paths bug