use function fatal(...)
Merge pull request #21 from ccding/dev

use function fatal(...)