be a bit smarter about defaults