fixed incoming messages undefined variables, uncommented tags-created with debug logger