Fixing the undefined offset[0]