fix dumb warnings

Should help us catch any errors if we make them.