I'm guessing that you left out the square brackets for the array subscripts in the lcd_overview4 subroutine.