processor reset() logic usage fixed