fix issue events and transform back to array