correct length checking of arguments table.. was always returning 0..