fix history_enabled config