fix absolute / relative paths