fix field bug