remove all (useless) default definitions for required parameters