fix path caps