bug fix to slack integration