fixed arg check