change to reactor mode.
change some spec.
merged