Fix bug where design_name is not defined