Compatibility fix due to Char is not Integer