fixed duplicate erorr.
Disable debug mode.