small fixes in reference manager