Fix segv on insufficient args