fix dictionary url resolving in makeDeclaration