Fix incorrect attributes