Fixed some dictionary things