fix dialyzer errors
marshal string test pass
marshal int test pass