removed last-of-type so we have IE8 support