ver 2.3.1

I forgot to disable the debug mode.
Deleted the codes that use to when the update from 2.2.7 to 2.3.0.