Unevenly baked cookies can happen for many reasons. The most common reason is over crowding the baking sheet. Giving lots of space between the cookies will help with even baking as the heat and air can circulate around each cookie.