fix for bad arg format bug