fixed reference error in syncer