GroupLogic: fixed thread-local variable initialization