fixed bug with apps that do not have a key