fix bug: init field