made it play nicely in case of installed mongoextension, also serverurl fix