filter local command