Minor bugs fixed.

2 issue fixed.

1. gzdecode function already exists some php servers.
2. xml_str argument already parsed but code trying to re-parse object.

Cheers.