remove trailing hr