solving error