fixed a couple of #define issues

moved #define HEAD -1000 to the appropriate header file