fix except syntax bug on arg checking