Fixes bug on deploy and changes to mongolab