dev: added elsif for deleted branch