[FIX]fix a out-of-border error