fix in check params