Fix incorrect datatype
Modify dialyzer.ignore-warnings