Convert all hard path in relative path