[cvio] fix some code violations