fix docs and params