[builder] fix for loop