Fixed bug in old php versions XML declarations breaks the atom and rss view