Fix a few issues identified by go vet

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>