fix signed/unsigned bug