Solved error witth offset