[relate] fix compile errors (use of old names)