avoid apply failure.