To fix types