style: added the "this." prefix to the missed place.
refactor: extract the method.
refactor: addressed some incorrect prefixes.
style: addressed some indentions.