fix link type