account for case where data string is set then removed