link type fix