db fix for prod