fix a few small bugs that showed up when the sight was run without existing data