some tools for mongoID