changed wrapper fail case