fixed bug for cleaning for libarduino