fix: fix synchronization when server starts