Edit app.d
delete some unnecessary code