fix link definitions