bugfix required_param id