check if strings are allocated