removing closing tag from end of php file