convert str "None" to None for oldver