Fix broken shit. TODO: learn to actually check stuff works before committing it.