small cleanups
more toVal instances