- Fixed the error page missing all layout
- Fixed the debug flag to be ignored