add `remote` config, fix #22