improve the text output
force the code to be a string in case of 0 which was being used as a bool