fixes mixup in structure;