small fixes, and trying to get some errors to show up