fix some broken things