Added: bugfix to ApplicationDB