Another sync code issue fixed