remove some logging code which was displayed on the console