auto call sync and error