lib: style fixes