clean up convert a bit