Modify the offset of classic function