bugfix + synchronizing directories