form the strings from symbols properly