account for type float return from rpc