delete some no use code, debug=False