remove unnecessary reset