Fixed error with text id mapped to 0 instead of exiting.