fix allow mongodb