fix bug with round robin