correct weighted proportion