corrected bug in offset