replaced last-child by nth-last-child