its ok, i've fixed the problem. i forgot to loop the passesd parameters.