fixed app.js api call base