fix bad default definitions