changed two bools into ints

changed two bool variables into ints in order not to crash if the user
enters int instead of bool