Fix bug of saving a therapy