fix for nil we are not logged