fixed edit withlist bug