fixing last relpath