fix things that were broken