Fixed the error that caused HTTP 500 on debug=off.