fixes sync issues