fix bug regarding custom path configuration