fixing offset