[minor] [fix] retain local property before/after rename