update fulldir to work nargin == 0