Correcting unwanted offset