Fix type err