missed reference vs pointer for mongodb