debugged vanilla mongodb