fixed a few small issues that were found in code review