Revert "A possible way to use to solve sign-compare warnings"

This reverts commit c4a46eb1ff58bcfe27c5fd799ea9092ede42ed16.
hopefully this fixes the sign errors