add Loader.load() support layout function