fix mongo brain undefined data ref #873