fix document of some weighted functions