small fixes on reference manager