fixed missing define