remove some logging and fix the schema