fixed create link bug