collection of small fixes for the mongodb collector