Correct bugs on reset table