fix defs