fix bugs in backend, synchrozine now works