Modify boot clean methord.