add support bare for string and array