fixed option wrapIfEmpty in ajax call