fixed exception errors

only like 3 things changed