fix dialyzer erros

fix #17