Fixing attempts

Error  is an unresolved symbol so something is not defined or referenced
correctly