cleaning up logger statements