fixed app template, model and view