fix in loop block