Pattern problem

can u see why i am getting 1 extra stars in first and last row.