fixed issue with it not giving any output if no args are given