Fixes typos and disables flask debug mode