Fixed an error on the mongoose connection schema script