Fixed ex in db