fix bad relative paths