fixing NICE in delete_logs