cleanup arity
cleanup