fix an issue while converting strings to datetime (with symbol -)