Correct args variable and exception handling