Modified head and rear's IDs

Now it can draw but particles go crazy, needs further correction.