half-fixed synchronization bug