removed mongo dependencies. fixed permissions.