firmware clean up