fix simple iteration