fixed field adding bug