fix history view