fix some dialyzer problems