set the default value correctly