removes :after pseudo-selector