delete legacy loader