Bug in reset during init fixed