initialize dependency variable, fix crash when APP_DEPENDENCY received