fixed a couple of signed/ unsigned warnings