qb : fixed a small bug