support for iOS webapp
bugfix templates