remove logging via fprintf