bug on load_apps()