fixed error with define