Solving nil issue with char unions