support emtpy error