sync but not working