added synchronizer and fixed it. Sgould work now.