Fixed error- undifined variable if you not set link text