fix resolved-name