improve whpcvt diagnostic for missing context