fixed rotation bug of the round robin db