COMMON: fix compile warnings