fixing link type