fixed the vector huz in sampleg