fixed operation loop fail