add arg check + fix url in samples