exchange `warn` and `error` code, fix #14
bump to 0.0.12