change pic data type to str