remove unused imports and turn off debug printing