basic fixes ext/xmlrpc