fix typo in variable dataSynced and some comments