clean up var a bit