fix fail statement