reenable local debug, tidy