fixed urls and templates for apps