resolve reference