Fixed string validation