fixes in loop for zero rounds