bug fixes

it now makes it through some of the files