fixed weighted sample wierdness