fixed error in which tried to read XML declaration as php