removes force casting from int to bool