handler logging bugfix