fix undefine fieldAhead