bug after reset