fixed a problem with the field write rules