cast saved string