nametoid mapper bug fix due to mongodb restriction