fix color and size delete problem