fixed <<<head problems