Fix getting char from string at zero position