fix declaration_context.