Fixed passing parameters to getParameter in connectionDetached handler.