fixes all the broken things