linked errors fixed