weak type fix