fixed app.post handling