solved problem with forwarding params to api provider