fixed broken reset