remove not needed params, existing in function in core.php