fixed error with option --best