fixed require for define