resolve link format