fix bug for CustomFileField