fix bug for field