fixed bug on resut set