removing closing ?> tags