fixed references to result head

was supposed to be id not class