Correcting string value