Fix offset value