history fetch to UI works