fix for syncing metadata