some bugs was fixed. qiut lead to exeption: too many out paramethers