Fix bug to use default values.