Fixed device-host synchronization issues