fix week indexing issue