fixed  boundary bug of V