Fixed serialmanager.py to convert num to char.