prepare auto link