remove rafter:get_state/1
fix dialyzer errors