small defines fix