fix default params usage and result visibility check