fix types.