fix snake link bug