Getting rid of undefined offset notice...