Fixed the reset