[DEV] add better error in arg parsing