More bugfixes

Signed-off-by: Michael Eshom <oldiesmann@oldiesmann.us>