fix reset to zero bug