Fix comments typo, rename param, refine obtainMessage

1. fix typo of omit;
2. change param name from "value" to a meaningful "sync";
3. seems obtainMessage can be refined as one line;