fixed a few broken things