reenabled debug mode for testing