check if current history is null