Head errors fixed