mongodb: head fixes