fix signed unsigned comprision