fixed some broken things