call block after setting default values.