fix supplying defaults