bug fix multiple apps with draugiem lib