Fixed problem with array used to show schedule