fix warning about signed/unsigned comparison
fix warnings about signed/unsigned comparison
fix warning about unused variable
fix warning about unused variable
fix warning about signed/unsigned comparison