remove redundant struct