removing errors