remove deprecated Loader call