fixed def error