Removed unnecessary calls of GetConfig() methgod