fix formatting failure when gets no argument