remove base and use relative path