Fix setting fields