fixing error view