remove -Wsign-compare warnings