restore manual modifications