fix post iteration