added default values into config constructor