bug fix from Alexandros when adding multiple issues