c style fixes