state sync just wont work WTFFF