Fixed problems with Production Database errors