Fixed a bunch of errors that were being triggered when devMode was set to false