improve app template