fixed some things that broke