fixes structure