added possibility for direct reset at assert