Path generator fix