fix follow dir error

fix follow dir error