fixed the structure