fix nthLastChild missing