removed some debug logging