fixed the xmlrpc error introduced in the previous patch