fixed mongoose require problem