fix bug with RPC interface
initial "needs_work" support