Fixed all HEAD refernces