handle no history case