fixed bug in retsRequest