Bugfix: insert APP ID