Fix cyclic bug: when an buffer reload another mode