fix the offset