fix for history