corrected log message. outputs correct tag now