small fix on logger issue