add follow function and fix a dir bug(because the guiding  direction is different from the first base )