fixed init of wps, csw and mongodb