removed unneeded #define from index.cpp