Fixed a sychronization issue