fixed bug in data fetch logic where last app dictionary was not put in its own array