Fix type struct