Fixing defs method