Make sure info isn't not overwriten by none

fix #1724