add enable/disable to auto sync, fixed alignment bug of scanner