fixed error with nth-child rule