a couple of quick fixes