don't crash on null strings