fix to start leo_rpc properly