remove funky logging code