Bugfix on LogHelper