workaround for complex types used as string