change ApplicaiontConfig to getApplicationConfigInstance();