fixed loop
fixed loop