reducing more comparison warnings