trying to fix history calls