fix empty fieldwritable assignment bug