Trying to fix the Cannot unset string offsets issue