fix for error view