fixed paths to work in-place