Fixing default quality
Clearing ThreadLocal values