fixed bug in offset, older offset in unuseful, now it can get more and more applications