bugfixes and packaged app