fix spelling error
use status type