fixed broken history