changed reset flag