handle null strings