check last arg