bug getStructure