link format cleanup