Fixed synchronization issue.