Fixed sync call bug.

Change-Id: I12c4b7a9e6d5899d7eace308de72c969a3d7a9c1