fixes to sync static