fixed hipchat logic