delete unwanted PHP closing tag