Fix folders synchro algo