fixing link and prefixes