fixed passing vars from initHandling() to the handlers