fixed bug with body params