some fixes for passing params to backend