Fix defined error