Fixed error with accessing arguments.