do some modification