fixing some broken things