db fix for 12 output