fix annotation and history download